package com.example.operation.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.operation.domin.Dispatch;
import com.example.operation.domin.DispatchCity;
import com.example.operation.domin.DispatchCondition;
import com.example.operation.domin.DispatchExpress;
import com.example.operation.vo.DispatchCityVo;
import com.example.operation.vo.DispatchExpressVo;
import com.example.operation.vo.DispatchVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @ClassName: DispatchMapper
 * @Description:
 * @Author
 * @Date 2021/11/24
 * @Version 1.0
 */

@Mapper
public interface DispatchMapper extends BaseMapper<Dispatch> {

    Page<DispatchVo> page(Page<DispatchVo> page,String name);
    List<DispatchCityVo> city(Integer dispatchId);
    List<DispatchExpressVo> express(Integer dispatchId);

}
